<template>
	<view :style="{ height: statusBarHeight }" class="status-bar"></view>
</template>

<script>
	export default {
		name: 'UniStatusBar',
		data() {
			return {
				statusBarHeight: uni.getSystemInfoSync().statusBarHeight + 'px'
			}
		}
	}
</script>

<style lang="scss" scoped>
	.status-bar {
		height: 20px;
	}
</style>
